import ProxyInterface from '../proxy-interface';
import { CommentPageModel } from '../model/comment';

class CommentPageProxy implements ProxyInterface<CommentPageModel> {
  private commentPage = new CommentPageModel();

  constructor (responseData) {
    let data = responseData;
    Object.assign<CommentPageModel, any>(this.commentPage, data);
  }

  getModel (): CommentPageModel {
    return this.commentPage;
  }
}

export {
  CommentPageProxy
};
